package cn.tedu.project.oa.vehicle.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class VehicleSaveParam {
    @ApiModelProperty(value = "车辆编号")
    private Long id;
    @ApiModelProperty(value = "车辆品牌")
    private String assetBrand;
    @ApiModelProperty(value = "车牌号")
    private String license;
    @ApiModelProperty(value = "车辆型号")
    private String model;
    @ApiModelProperty(value = "座位数")
    private Integer seat;
    @ApiModelProperty(value = "车辆识别码")
    private String assetCode;
    @ApiModelProperty(value = "车保编号")
    private String insurance;
    @ApiModelProperty(value = "所属地")
    private String assetLocation;
    @ApiModelProperty(value = "车辆类型 轿车10 客车20 货车30 电单车40")
    private Integer type;
    @ApiModelProperty(value = "车用能源 油车1 电车2 油电混合3 其它4")
    private Integer energy;
    @ApiModelProperty(value = "资产状态 空闲1 占用2 待修3 修理中4 报废5")
    private Integer assetStatus;
    @ApiModelProperty(value = "目前使用者员工编号")
    private Long userId;
    @ApiModelProperty(value = "所属部门编号")
    private Long departmentId;
    @ApiModelProperty(value = "备注")
    private String remark;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "购买时间")
    private Date assetBuyTime;
    @ApiModelProperty(value = "购买价格")
    private Double assetPrice;
}
